package app.cn.com.school.activity

import android.content.Context
import android.content.Intent
import android.os.Bundle
import app.cn.com.school.R
import app.cn.com.school.databinding.ActivityBecomeMembrtBinding

/**
 * 成为会员
 * */
class BecomeMembrtActivity : BaseActivity<ActivityBecomeMembrtBinding>() {
    override fun initBindingVar() {
    }

    override fun initTitle() {
        binding.titlebar.title.text = "成为会员"
        binding.titlebar.back.setOnClickListener { finish() }
    }

    lateinit var context: Context
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        initBinding(R.layout.activity_become_membrt)
        context = this
        initView()
    }

    private fun initView() {
        binding.memberGrade.setOnClickListener { startActivity(Intent(context,SortActivity::class.java).putExtra("type","0")) }

    }
}
